use crate::scene_manager::Scene;
use std::io::Stdout;

pub trait System {
    fn init(&mut self, scene: &mut Scene);
    fn update(&mut self, scene: &mut Scene, delta_time: f32);
    // 修复渲染方法签名，添加 stdout 参数
    fn render(&self, stdout: &mut Stdout, scene: &Scene);
}